projects
/
cargo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b01770c
)
Update guide.md
author
WebTogz
<antonin.carette@gmail.com>
Mon, 9 Nov 2015 19:39:44 +0000
(20:39 +0100)
committer
WebTogz
<antonin.carette@gmail.com>
Mon, 9 Nov 2015 19:39:44 +0000
(20:39 +0100)
Add a comment to know how to pass arguments via Cargo
src/doc/guide.md
patch
|
blob
|
history
diff --git
a/src/doc/guide.md
b/src/doc/guide.md
index 03f0d4df2cc8a77fb1242facd9710bf1880a9eb2..31eb139abba12123b0c1c33f5d526193cb8f3e2c 100644
(file)
--- a/
src/doc/guide.md
+++ b/
src/doc/guide.md
@@
-92,6
+92,8
@@
class="s1"> Fresh</span> hello_world v0.1.0 (file:///path/to/project/hello_w
class="s1"> Running</span> `target/debug/hello_world`
Hello, world!</code></pre>
+If you want to pass some arguments to your program, please use `cargo run -- first_argument second_argument`.
+
You'll now notice a new file, `Cargo.lock`. It contains information about our
dependencies. Since we don't have any yet, it's not very interesting.